<div class="form">
  <h3>Signup</h3>

  <%= error_messages_for 'user' %>

  <div class="form-padding">
    <% form_for :user, @user, :url =>{ :action => 'signup' } do |f|%>

      <%= render :partial => 'edit', :object => f%><br/>

      <div class="button-bar">
        <%= submit_tag 'Signup' %>
        <%= link_to 'Cancel', :action => 'login' %>
      </div>
    <% end %>
  </div>
</div>

